package com.itheima.service;

import com.itheima.domain.Catalog;
import com.itheima.domain.Company;
import com.itheima.domain.Question;

import java.util.List;

public interface QuestionService {
    List<Question> findAll(String page, String pageSize);

    List<Company> findAll1();

    List<Catalog> findAll2();

    String save(Question question,boolean flag);

    Question findById(String id);

    void edit(Question question,boolean flag);

    void delete(String ids);
}
